package com.example.shiro02.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Version 1.0
 * @Author:zlf
 * @Date:2020/11/23 - 16:04
 * @Content:
 */
@Controller
public class pageController {
    @RequestMapping("/")
    public String longin1(){
        return "login";
    }

    @RequestMapping("/login.html")
    public  String login2(){
        return "login";
    }
    @RequestMapping("/index.html")
    public  String index(){
        return "index";
    }

    @RequestMapping("/regist.html")
    public  String regist(){
        return "regist";
    }
    @RequestMapping("/c_add.html")
    public  String cadd(){
        return "c_add";
    }
    @RequestMapping("/lesspermission.html")
    public  String lesspermission(){
        return "lesspermission";
    }
}
